package entity;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class Node implements Serializable{

  /**
   * 显示在节点外面的文本
   */
  private String outerText = null;
  
  /**
   * 节点的真实文本
   */
  private String innerText = null;
  
  /**
   * 当前节点的儿子节点组成的list
   */
  private List<Node> child = null;
  
  /**
   * 当前节点的父亲节点
   */
  private Node parent = null;

  public String getOuterText() {
    return outerText;
  }

  public void setOuterText(String outerText) {
    this.outerText = outerText;
  }

  public String getInnerText() {
    return innerText;
  }

  public void setInnerText(String innerText) {
    this.innerText = innerText;
  }

  public List<Node> getChild() {
    return child;
  }

  public void setChild(List<Node> child) {
    this.child = child;
  }

  public Node getParent() {
    return parent;
  }

  public void setParent(Node parent) {
    this.parent = parent;
  }
  
}
